package com.peas.platform.module.icims.base.approve.enums;

import com.peas.platform.common.core.enums.BaseEnum;
import com.peas.platform.common.core.enums.CommonElType;
import lombok.Getter;

public enum ApproveBusinessField implements BaseEnum {

    expenditureKpi001("2001001", "经费类型", CommonElType.success, ApproveBusiness.expenditureKpi),
    expenditureKpi002("2001002", "财政项目分类", CommonElType.success, ApproveBusiness.expenditureKpi),
    expenditureKpi003("2001003", "金额限制", CommonElType.success, ApproveBusiness.expenditureKpi),

    expenditureQuota001("2002001", "经费类型", CommonElType.success, ApproveBusiness.expenditureQuota),
    expenditureQuota002("2002002", "财政项目分类", CommonElType.success, ApproveBusiness.expenditureQuota),
    expenditureQuota003("2002003", "金额限制", CommonElType.success, ApproveBusiness.expenditureQuota),

    expenditureAdjustment001("2003001", "经费类型", CommonElType.success, ApproveBusiness.expenditureAdjustment),
    expenditureAdjustment002("2003002", "财政项目分类", CommonElType.success, ApproveBusiness.expenditureAdjustment),
    expenditureAdjustment003("2003003", "金额限制", CommonElType.success, ApproveBusiness.expenditureAdjustment),

    expenditureApplication001("2004001", "经费类型", CommonElType.success, ApproveBusiness.expenditureApplication),
    expenditureApplication002("2004002", "财政项目分类", CommonElType.success, ApproveBusiness.expenditureApplication),
    expenditureApplication003("2004003", "金额限制", CommonElType.success, ApproveBusiness.expenditureApplication),

    expenditureReimbursement001("2005001", "经费类型", CommonElType.success, ApproveBusiness.expenditureReimbursement),
    expenditureReimbursement002("2005002", "财政项目分类", CommonElType.success, ApproveBusiness.expenditureReimbursement),
    expenditureReimbursement003("2005003", "金额限制", CommonElType.success, ApproveBusiness.expenditureReimbursement),
    expenditureReimbursement004("2005004", "费用类型", CommonElType.success, ApproveBusiness.expenditureReimbursement),

    expenditureReimbursementOther001("2006001", "经费类型", CommonElType.success, ApproveBusiness.expenditureReimbursementOther),
    expenditureReimbursementOther002("2006002", "财政项目分类", CommonElType.success, ApproveBusiness.expenditureReimbursementOther),
    expenditureReimbursementOther003("2006003", "金额限制", CommonElType.success, ApproveBusiness.expenditureReimbursementOther),
    ;

    private final String key;
    private final String value;
    private final CommonElType elTagType;
    @Getter
    private final ApproveBusiness approveBusiness;

    ApproveBusinessField(String key, String value, CommonElType elTagType, ApproveBusiness approveBusiness) {
        this.key = key;
        this.value = value;
        this.elTagType = elTagType;
        this.approveBusiness = approveBusiness;
    }

    @Override
    public String getKey() {
        return this.key;
    }

    @Override
    public String getValue() {
        return this.value;
    }

    @Override
    public CommonElType getElTagType() {
        return elTagType;
    }

}
